﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000583 RID: 1411
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishChessRogueNousSubStoryScRsp : IMessage<FinishChessRogueNousSubStoryScRsp>, IMessage, IEquatable<FinishChessRogueNousSubStoryScRsp>, IDeepCloneable<FinishChessRogueNousSubStoryScRsp>, IBufferMessage
	{
		// Token: 0x17001219 RID: 4633
		// (get) Token: 0x06003F63 RID: 16227 RVA: 0x000ADECF File Offset: 0x000AC0CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishChessRogueNousSubStoryScRsp> Parser
		{
			get
			{
				return FinishChessRogueNousSubStoryScRsp._parser;
			}
		}

		// Token: 0x1700121A RID: 4634
		// (get) Token: 0x06003F64 RID: 16228 RVA: 0x000ADED6 File Offset: 0x000AC0D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishChessRogueNousSubStoryScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700121B RID: 4635
		// (get) Token: 0x06003F65 RID: 16229 RVA: 0x000ADEE8 File Offset: 0x000AC0E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishChessRogueNousSubStoryScRsp.Descriptor;
			}
		}

		// Token: 0x06003F66 RID: 16230 RVA: 0x000ADEEF File Offset: 0x000AC0EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChessRogueNousSubStoryScRsp()
		{
		}

		// Token: 0x06003F67 RID: 16231 RVA: 0x000ADEF7 File Offset: 0x000AC0F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChessRogueNousSubStoryScRsp(FinishChessRogueNousSubStoryScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.iBGBNAJCIHD_ = other.iBGBNAJCIHD_;
			this.chessRogueSubStoryId_ = other.chessRogueSubStoryId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003F68 RID: 16232 RVA: 0x000ADF34 File Offset: 0x000AC134
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChessRogueNousSubStoryScRsp Clone()
		{
			return new FinishChessRogueNousSubStoryScRsp(this);
		}

		// Token: 0x1700121C RID: 4636
		// (get) Token: 0x06003F69 RID: 16233 RVA: 0x000ADF3C File Offset: 0x000AC13C
		// (set) Token: 0x06003F6A RID: 16234 RVA: 0x000ADF44 File Offset: 0x000AC144
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700121D RID: 4637
		// (get) Token: 0x06003F6B RID: 16235 RVA: 0x000ADF4D File Offset: 0x000AC14D
		// (set) Token: 0x06003F6C RID: 16236 RVA: 0x000ADF55 File Offset: 0x000AC155
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IBGBNAJCIHD
		{
			get
			{
				return this.iBGBNAJCIHD_;
			}
			set
			{
				this.iBGBNAJCIHD_ = value;
			}
		}

		// Token: 0x1700121E RID: 4638
		// (get) Token: 0x06003F6D RID: 16237 RVA: 0x000ADF5E File Offset: 0x000AC15E
		// (set) Token: 0x06003F6E RID: 16238 RVA: 0x000ADF66 File Offset: 0x000AC166
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueSubStoryId
		{
			get
			{
				return this.chessRogueSubStoryId_;
			}
			set
			{
				this.chessRogueSubStoryId_ = value;
			}
		}

		// Token: 0x06003F6F RID: 16239 RVA: 0x000ADF6F File Offset: 0x000AC16F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishChessRogueNousSubStoryScRsp);
		}

		// Token: 0x06003F70 RID: 16240 RVA: 0x000ADF80 File Offset: 0x000AC180
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishChessRogueNousSubStoryScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.IBGBNAJCIHD == other.IBGBNAJCIHD && this.ChessRogueSubStoryId == other.ChessRogueSubStoryId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003F71 RID: 16241 RVA: 0x000ADFDC File Offset: 0x000AC1DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num ^= this.IBGBNAJCIHD.GetHashCode();
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num ^= this.ChessRogueSubStoryId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003F72 RID: 16242 RVA: 0x000AE04D File Offset: 0x000AC24D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003F73 RID: 16243 RVA: 0x000AE055 File Offset: 0x000AC255
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003F74 RID: 16244 RVA: 0x000AE060 File Offset: 0x000AC260
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChessRogueSubStoryId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ChessRogueSubStoryId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.IBGBNAJCIHD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003F75 RID: 16245 RVA: 0x000AE0D8 File Offset: 0x000AC2D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IBGBNAJCIHD);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueSubStoryId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003F76 RID: 16246 RVA: 0x000AE148 File Offset: 0x000AC348
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishChessRogueNousSubStoryScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.IBGBNAJCIHD != 0U)
			{
				this.IBGBNAJCIHD = other.IBGBNAJCIHD;
			}
			if (other.ChessRogueSubStoryId != 0U)
			{
				this.ChessRogueSubStoryId = other.ChessRogueSubStoryId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003F77 RID: 16247 RVA: 0x000AE1AC File Offset: 0x000AC3AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003F78 RID: 16248 RVA: 0x000AE1B8 File Offset: 0x000AC3B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 88U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.IBGBNAJCIHD = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.ChessRogueSubStoryId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400190C RID: 6412
		private static readonly MessageParser<FinishChessRogueNousSubStoryScRsp> _parser = new MessageParser<FinishChessRogueNousSubStoryScRsp>(() => new FinishChessRogueNousSubStoryScRsp());

		// Token: 0x0400190D RID: 6413
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400190E RID: 6414
		public const int RetcodeFieldNumber = 11;

		// Token: 0x0400190F RID: 6415
		private uint retcode_;

		// Token: 0x04001910 RID: 6416
		public const int IBGBNAJCIHDFieldNumber = 15;

		// Token: 0x04001911 RID: 6417
		private uint iBGBNAJCIHD_;

		// Token: 0x04001912 RID: 6418
		public const int ChessRogueSubStoryIdFieldNumber = 4;

		// Token: 0x04001913 RID: 6419
		private uint chessRogueSubStoryId_;
	}
}
